﻿<!--
Copyright (c) Microsoft Corporation.  All rights reserved.
-->

<ResourceDictionary
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:System="clr-namespace:System;assembly=mscorlib">

  <!-- Common colors -->

<!-- 100 percent White -->
<Color x:Key="MyPhoneForegroundColor">Black</Color>

<!-- 100 percent Black -->
<Color x:Key="MyPhoneBackgroundColor">White</Color>

<!-- 100 percent Black -->
<Color x:Key="MyPhoneContrastForegroundColor">White</Color>

<!-- 100 percent White -->
<Color x:Key="MyPhoneContrastBackgroundColor">Black</Color>

<!-- 40 percent White -->
<Color x:Key="MyPhoneDisabledColor">#66FFFFFF</Color>



<!-- TextBox colors -->

<!-- 100 percent Black -->
<Color x:Key="MyPhoneTextCaretColor">#FF000000</Color>

<!-- 75 percent White -->
<Color x:Key="MyPhoneTextBoxColor">#BFFFFFFF</Color>

<!-- 100 percent Black -->
<Color x:Key="MyPhoneTextBoxForegroundColor">#FF000000</Color>

<!-- 100 percent White -->
<Color x:Key="MyPhoneTextBoxEditBackgroundColor">#FFFFFFFF</Color>

<!-- 100 percent White -->
<Color x:Key="MyPhoneTextBoxEditBorderColor">#FFFFFFFF</Color>

<!-- 47 percent percent Black -->
<Color x:Key="MyPhoneTextBoxReadOnlyColor">#77000000</Color>

<!-- 60 percent White -->
<Color x:Key="MyPhoneSubtleColor">#99FFFFFF</Color>

<!-- 100 percent White -->
<Color x:Key="MyPhoneTextBoxSelectionForegroundColor">#FFFFFFFF</Color>


<!-- RadioButton and CheckBox colors -->

<!-- 75 percent White -->
<Color x:Key="MyPhoneRadioCheckBoxColor">#BFFFFFFF</Color>

<!-- 40 percent White -->
<Color x:Key="MyPhoneRadioCheckBoxDisabledColor">#66FFFFFF</Color>

<!-- 100 percent Black -->
<Color x:Key="MyPhoneRadioCheckBoxCheckColor">#FF000000</Color>

<!-- 40 percent Black -->
<Color x:Key="MyPhoneRadioCheckBoxCheckDisabledColor">#66000000</Color>

<!-- 100 percent White -->
<Color x:Key="MyPhoneRadioCheckBoxPressedColor">#FFFFFFFF</Color>

<!-- 100 percent White -->
<Color x:Key="MyPhoneRadioCheckBoxPressedBorderColor">#FFFFFFFF</Color>



<!-- Special colors -->

<!-- 66 percent transparent -->
<Color x:Key="MyPhoneSemitransparentColor">#AA000000</Color>

<!-- System chrome color -->
<Color x:Key="MyPhoneChromeColor">#FF1F1F1F</Color>



<!-- Deprecated colors -->

<!-- 20 percent White -->
<Color x:Key="MyPhoneInactiveColor">#33FFFFFF</Color>

<!-- Inverse inactive background color -->
<Color x:Key="MyPhoneInverseInactiveColor">#FFCCCCCC</Color>

<!-- Inverse background color -->
<Color x:Key="MyPhoneInverseBackgroundColor">#FFFFFFFF</Color>

<!-- 75 percent White -->
<Color x:Key="MyPhoneBorderColor">#BFFFFFFF</Color>



<!-- Visibility -->
<Visibility x:Key="MyPhoneDarkThemeVisibility">Collapsed</Visibility>
<Visibility x:Key="MyPhoneLightThemeVisibility">Visible</Visibility>



<!-- Opacity -->
<System:Double x:Key="MyPhoneDarkThemeOpacity">1</System:Double>
<System:Double x:Key="MyPhoneLightThemeOpacity">0</System:Double>

<!-- Blue -->
<Color x:Key="MyPhoneAccentColor">#FF45B217</Color>

<LinearGradientBrush x:Key="MyPhoneForegroundBrush" EndPoint="0.5,1" StartPoint="0.5,0">
	<GradientStop Color="Black" Offset="0"/>
	<GradientStop Color="{StaticResource MyPhoneForegroundColor}" Offset="1"/>
</LinearGradientBrush>

<SolidColorBrush x:Key="MyPhoneBackgroundBrush" Color="{StaticResource MyPhoneBackgroundColor}"/>

<SolidColorBrush x:Key="MyPhoneContrastForegroundBrush" Color="{StaticResource MyPhoneContrastForegroundColor}"/>

<SolidColorBrush x:Key="MyPhoneContrastBackgroundBrush" Color="{StaticResource MyPhoneContrastBackgroundColor}"/>

<SolidColorBrush x:Key="MyPhoneTextCaretBrush" Color="{StaticResource MyPhoneTextCaretColor}"/>

<SolidColorBrush x:Key="MyPhoneTextBoxBrush" Color="{StaticResource MyPhoneTextBoxColor}"/>

<SolidColorBrush x:Key="MyPhoneTextBoxForegroundBrush" Color="{StaticResource MyPhoneTextBoxForegroundColor}"/>

<SolidColorBrush x:Key="MyPhoneTextBoxEditBackgroundBrush" Color="{StaticResource MyPhoneTextBoxEditBackgroundColor}"/>

<SolidColorBrush x:Key="MyPhoneTextBoxEditBorderBrush" Color="{StaticResource MyPhoneTextBoxEditBorderColor}"/>

<SolidColorBrush x:Key="MyPhoneTextBoxReadOnlyBrush" Color="{StaticResource MyPhoneTextBoxReadOnlyColor}"/>

<SolidColorBrush x:Key="MyPhoneTextBoxSelectionForegroundBrush" Color="{StaticResource MyPhoneTextBoxSelectionForegroundColor}"/>

<SolidColorBrush x:Key="MyPhoneSubtleBrush" Color="{StaticResource MyPhoneSubtleColor}"/>

<SolidColorBrush x:Key="MyPhoneRadioCheckBoxBrush" Color="{StaticResource MyPhoneRadioCheckBoxColor}"/>

<SolidColorBrush x:Key="MyPhoneRadioCheckBoxDisabledBrush" Color="{StaticResource MyPhoneRadioCheckBoxDisabledColor}"/>

<SolidColorBrush x:Key="MyPhoneRadioCheckBoxCheckBrush" Color="{StaticResource MyPhoneRadioCheckBoxCheckColor}"/>

<SolidColorBrush x:Key="MyPhoneRadioCheckBoxCheckDisabledBrush" Color="{StaticResource MyPhoneRadioCheckBoxCheckDisabledColor}"/>

<SolidColorBrush x:Key="MyPhoneRadioCheckBoxPressedBrush" Color="{StaticResource MyPhoneRadioCheckBoxPressedColor}"/>

<SolidColorBrush x:Key="MyPhoneRadioCheckBoxPressedBorderBrush" Color="{StaticResource MyPhoneRadioCheckBoxPressedBorderColor}"/>

<SolidColorBrush x:Key="MyPhoneDisabledBrush" Color="{StaticResource MyPhoneDisabledColor}"/>

<SolidColorBrush x:Key="MyTransparentBrush" Color="Transparent"/>

<SolidColorBrush x:Key="MyPhoneSemitransparentBrush" Color="{StaticResource MyPhoneSemitransparentColor}"/>

<SolidColorBrush x:Key="MyPhoneChromeBrush" Color="{StaticResource MyPhoneChromeColor}"/>

<SolidColorBrush x:Key="MyPhoneAccentBrush" Color="{StaticResource MyPhoneAccentColor}"/>


<!-- Deprecated brushes -->

<SolidColorBrush x:Key="MyPhoneInactiveBrush" Color="{StaticResource MyPhoneInactiveColor}"/>

<SolidColorBrush x:Key="MyPhoneInverseInactiveBrush" Color="{StaticResource MyPhoneInverseInactiveColor}"/>

<SolidColorBrush x:Key="MyPhoneInverseBackgroundBrush" Color="{StaticResource MyPhoneInverseBackgroundColor}"/>

<SolidColorBrush x:Key="MyPhoneBorderBrush" Color="{StaticResource MyPhoneBorderColor}"/>


<!-- Touch Target area -->
<Thickness x:Key="MyPhoneTouchTargetOverhang">12</Thickness>

<!-- Touch Target area for CheckBox / RadioButton -->
<Thickness x:Key="MyPhoneTouchTargetLargeOverhang">12,20</Thickness>

<!-- Default margins for non-touch items -->
<Thickness x:Key="MyPhoneHorizontalMargin">12,0</Thickness>
<Thickness x:Key="MyPhoneVerticalMargin">0,12</Thickness>
<Thickness x:Key="MyPhoneMargin">12</Thickness>

<!-- Inner margins for text controls -->
<Thickness x:Key="MyPhoneTextBoxInnerMargin">1,2</Thickness>
<Thickness x:Key="MyPhonePasswordBoxInnerMargin">3,2</Thickness>

<!-- Default border size-->
<Thickness x:Key="MyPhoneBorderThickness">3</Thickness>

<!-- Default stroke for RadioButton -->
<System:Double x:Key="MyPhoneStrokeThickness">3</System:Double>

<!-- Font names -->
<FontFamily x:Key="MyPhoneFontFamilyNormal">Segoe WP</FontFamily>
<FontFamily x:Key="MyPhoneFontFamilyLight">Segoe WP Light</FontFamily>
<FontFamily x:Key="MyPhoneFontFamilySemiLight">Segoe WP SemiLight</FontFamily>
<FontFamily x:Key="MyPhoneFontFamilySemiBold">Segoe WP Semibold</FontFamily>

<!-- Font sizes -->

<!--14pt-->
<System:Double x:Key="MyPhoneFontSizeSmall">18.667</System:Double>
<!--15pt-->
<System:Double x:Key="MyPhoneFontSizeNormal">20</System:Double>
<!--17pt-->
<System:Double x:Key="MyPhoneFontSizeMedium">22.667</System:Double>
<!--19pt-->
<System:Double x:Key="MyPhoneFontSizeMediumLarge">25.333</System:Double>
<!--24pt-->
<System:Double x:Key="MyPhoneFontSizeLarge">32</System:Double>
<!--32pt-->
<System:Double x:Key="MyPhoneFontSizeExtraLarge">42.667</System:Double>
<!--54pt-->
<System:Double x:Key="MyPhoneFontSizeExtraExtraLarge">72</System:Double>
<!--140pt-->
<System:Double x:Key="MyPhoneFontSizeHuge">186.667</System:Double>

<!-- TextBlock styles -->

<Style x:Key="MyPhoneTextBlockBase" TargetType="TextBlock">
  <Setter Property="FontFamily" Value="{StaticResource MyPhoneFontFamilyNormal}"/>
  <Setter Property="FontSize" Value="{StaticResource MyPhoneFontSizeNormal}"/>
  <Setter Property="Foreground" Value="{StaticResource MyPhoneForegroundBrush}"/>
  <Setter Property="Margin" Value="{StaticResource MyPhoneHorizontalMargin}"/>
</Style>

<Style x:Key="MyPhoneTextNormalStyle" TargetType="TextBlock" BasedOn="{StaticResource MyPhoneTextBlockBase}" />
  
<Style x:Key="MyPhoneTextSubtleStyle" TargetType="TextBlock" BasedOn="{StaticResource MyPhoneTextBlockBase}">
  <Setter Property="Foreground" Value="{StaticResource MyPhoneSubtleBrush}"/>
</Style>

<Style x:Key="MyPhoneTextTitle1Style" TargetType="TextBlock" BasedOn="{StaticResource MyPhoneTextBlockBase}">
  <Setter Property="FontFamily" Value="{StaticResource MyPhoneFontFamilySemiLight}"/>
  <Setter Property="FontSize" Value="{StaticResource MyPhoneFontSizeExtraExtraLarge}"/>
</Style>

<Style x:Key="MyPhoneTextTitle2Style" TargetType="TextBlock" BasedOn="{StaticResource MyPhoneTextBlockBase}">
  <Setter Property="FontFamily" Value="{StaticResource MyPhoneFontFamilySemiLight}"/>
  <Setter Property="FontSize" Value="{StaticResource MyPhoneFontSizeLarge}"/>
</Style>

<Style x:Key="MyPhoneTextTitle3Style" TargetType="TextBlock" BasedOn="{StaticResource MyPhoneTextBlockBase}">
  <Setter Property="FontFamily" Value="{StaticResource MyPhoneFontFamilySemiLight}"/>
  <Setter Property="FontSize" Value="{StaticResource MyPhoneFontSizeMedium}"/>
</Style>

<Style x:Key="MyPhoneTextExtraLargeStyle" TargetType="TextBlock" BasedOn="{StaticResource MyPhoneTextBlockBase}">
  <Setter Property="FontFamily" Value="{StaticResource MyPhoneFontFamilySemiLight}"/>
  <Setter Property="FontSize" Value="{StaticResource MyPhoneFontSizeExtraLarge}"/>
</Style>

<Style x:Key="MyPhoneTextGroupHeaderStyle" TargetType="TextBlock" BasedOn="{StaticResource MyPhoneTextBlockBase}">
  <Setter Property="FontFamily" Value="{StaticResource MyPhoneFontFamilySemiLight}"/>
  <Setter Property="FontSize" Value="{StaticResource MyPhoneFontSizeLarge}"/>
  <Setter Property="Foreground" Value="{StaticResource MyPhoneSubtleBrush}"/>
</Style>

<Style x:Key="MyPhoneTextLargeStyle" TargetType="TextBlock" BasedOn="{StaticResource MyPhoneTextBlockBase}">
  <Setter Property="FontFamily" Value="{StaticResource MyPhoneFontFamilySemiLight}"/>
  <Setter Property="FontSize" Value="{StaticResource MyPhoneFontSizeLarge}"/>
</Style>

<Style x:Key="MyPhoneTextSmallStyle" TargetType="TextBlock" BasedOn="{StaticResource MyPhoneTextBlockBase}">
  <Setter Property="FontSize" Value="{StaticResource MyPhoneFontSizeSmall}"/>
  <Setter Property="Foreground" Value="{StaticResource MyPhoneSubtleBrush}"/>
</Style>

<Style x:Key="MyPhoneTextContrastStyle" TargetType="TextBlock" BasedOn="{StaticResource MyPhoneTextBlockBase}">
  <Setter Property="FontFamily" Value="{StaticResource MyPhoneFontFamilySemiBold}"/>
  <Setter Property="Foreground" Value="{StaticResource MyPhoneContrastForegroundBrush}"/>
</Style>

<Style x:Key="MyPhoneTextAccentStyle" TargetType="TextBlock" BasedOn="{StaticResource MyPhoneTextBlockBase}">
  <Setter Property="FontFamily" Value="{StaticResource MyPhoneFontFamilySemiBold}"/>
  <Setter Property="Foreground" Value="{StaticResource MyPhoneAccentBrush}"/>
</Style>

<Style x:Key="MyPhoneTextHugeStyle" TargetType="TextBlock" BasedOn="{StaticResource MyPhoneTextBlockBase}">
  <Setter Property="FontFamily" Value="{StaticResource MyPhoneFontFamilyLight}"/>
  <Setter Property="FontSize" Value="{StaticResource MyPhoneFontSizeHuge}"/>
</Style>
</ResourceDictionary>

  